/**
  * 描述：
  * 
  * @Author ${author}
  * @mail ${mail}
  * @Date ${date}
  */
import fetch from '@/utils/fetch';

const ConversionApi = {
    getPageList (params) {
        return fetch({
            url: '/api/Inspection/list',
            method: 'get',
            params: params
        });
    },
    getDetail (data) {
        return fetch({
            url: '/api/Inspection/list',
            method: 'get',
			params:data
        });
    },
    add (data) {
        return fetch({
            url: '/api/Inspection',
            method: 'post',
            data: data
        });
    },
    del (data) {
        return fetch({
            url: '/api/Inspection/'+data,
            method: 'delete',
        });
    },
	getDown(id){
		return fetch({
			url: 'api/sysOrg/'+id,
			method: 'get',
		})
	},
	getMessage (){
		return fetch({
			url: 'api/sysOrg',
			method: 'get',
		})
	}
};
export default ConversionApi;
